package cn.shopping.core.daomanager.immutable.impl;

import cn.shopping.common.daomanager.impl.CommonDaoManagerImpl;
import cn.shopping.core.daomanager.immutable.ImmutableUploadInfoImgDaoManager;
import cn.shopping.core.dbo.UploadInfoImgDO;
import cn.shopping.core.mapper.UploadInfoImgMapper;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


/**
 * 代码自动生成，请不要修改，切记！！！
 */
public class ImmutableUploadInfoImgDaoManagerImpl extends CommonDaoManagerImpl<UploadInfoImgDO,Long> implements ImmutableUploadInfoImgDaoManager {

        @Autowired
        private UploadInfoImgMapper uploadInfoImgMapper;




        @PostConstruct
        private void init(){
           super.setCommonMapper(uploadInfoImgMapper);

            Map<String,String> fieldMap=new HashMap<>();
            fieldMap.put(UploadInfoImgDO.ID,UploadInfoImgDO.DB_ID);
            fieldMap.put(UploadInfoImgDO.DB_ID,UploadInfoImgDO.DB_ID);

            fieldMap.put(UploadInfoImgDO.UPLOAD_ID,UploadInfoImgDO.DB_UPLOAD_ID);
            fieldMap.put(UploadInfoImgDO.DB_UPLOAD_ID,UploadInfoImgDO.DB_UPLOAD_ID);

            fieldMap.put(UploadInfoImgDO.FILE_PATH,UploadInfoImgDO.DB_FILE_PATH);
            fieldMap.put(UploadInfoImgDO.DB_FILE_PATH,UploadInfoImgDO.DB_FILE_PATH);

            fieldMap.put(UploadInfoImgDO.FILE_SIZE,UploadInfoImgDO.DB_FILE_SIZE);
            fieldMap.put(UploadInfoImgDO.DB_FILE_SIZE,UploadInfoImgDO.DB_FILE_SIZE);

            fieldMap.put(UploadInfoImgDO.FILE_PIXEL,UploadInfoImgDO.DB_FILE_PIXEL);
            fieldMap.put(UploadInfoImgDO.DB_FILE_PIXEL,UploadInfoImgDO.DB_FILE_PIXEL);

            fieldMap.put(UploadInfoImgDO.IS_DELETED,UploadInfoImgDO.DB_IS_DELETED);
            fieldMap.put(UploadInfoImgDO.DB_IS_DELETED,UploadInfoImgDO.DB_IS_DELETED);

            fieldMap.put(UploadInfoImgDO.GMT_CREATE,UploadInfoImgDO.DB_GMT_CREATE);
            fieldMap.put(UploadInfoImgDO.DB_GMT_CREATE,UploadInfoImgDO.DB_GMT_CREATE);

            fieldMap.put(UploadInfoImgDO.GMT_MODIFIED,UploadInfoImgDO.DB_GMT_MODIFIED);
            fieldMap.put(UploadInfoImgDO.DB_GMT_MODIFIED,UploadInfoImgDO.DB_GMT_MODIFIED);

            fieldMap.put(UploadInfoImgDO.USER_ID_CREATE,UploadInfoImgDO.DB_USER_ID_CREATE);
            fieldMap.put(UploadInfoImgDO.DB_USER_ID_CREATE,UploadInfoImgDO.DB_USER_ID_CREATE);

            fieldMap.put(UploadInfoImgDO.USER_ID_MODIFIED,UploadInfoImgDO.DB_USER_ID_MODIFIED);
            fieldMap.put(UploadInfoImgDO.DB_USER_ID_MODIFIED,UploadInfoImgDO.DB_USER_ID_MODIFIED);



            super.setFieldNameMap(fieldMap);
        }



        public List<UploadInfoImgDO> listByUploadId(Long uploadId, String... fieldNames){
            return this.uploadInfoImgMapper.listByUploadId(uploadId,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByUploadId(Long uploadId, String... fieldNames){
            return this.uploadInfoImgMapper.mapByUploadId(uploadId,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByUploadId(Long uploadId){
            return this.uploadInfoImgMapper.countByUploadId(uploadId);
        }

        public Integer updateNotNullFieldsByUploadId(UploadInfoImgDO updateDO, Long uploadId){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByUploadId(updateDO,uploadId);
        }

        public Integer updateAllFieldsByUploadId(UploadInfoImgDO updateDO,  Long uploadId){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByUploadId(updateDO,uploadId);
        }

        public Integer deleteByUploadId( Long uploadId){
            return this.uploadInfoImgMapper.deleteByUploadId(uploadId);
        }



        public List<UploadInfoImgDO> listByInUploadId(Collection<Long> uploadIdList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInUploadId(uploadIdList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInUploadId(Collection<Long> uploadIdList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInUploadId(uploadIdList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInUploadId(Collection<Long> uploadIdList){
            return this.uploadInfoImgMapper.countByInUploadId(uploadIdList);
        }

        public Integer updateNotNullFieldsByInUploadId(UploadInfoImgDO updateDO, Collection<Long> uploadIdList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInUploadId(updateDO,uploadIdList);
        }

        public Integer updateAllFieldsByInUploadId(UploadInfoImgDO updateDO,  Collection<Long> uploadIdList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInUploadId(updateDO,uploadIdList);
        }

        public Integer deleteByInUploadId( Collection<Long> uploadIdList){
            return this.uploadInfoImgMapper.deleteByInUploadId(uploadIdList);
        }


        public List<UploadInfoImgDO> listByFilePath(String filePath, String... fieldNames){
            return this.uploadInfoImgMapper.listByFilePath(filePath,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByFilePath(String filePath, String... fieldNames){
            return this.uploadInfoImgMapper.mapByFilePath(filePath,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByFilePath(String filePath){
            return this.uploadInfoImgMapper.countByFilePath(filePath);
        }

        public Integer updateNotNullFieldsByFilePath(UploadInfoImgDO updateDO, String filePath){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByFilePath(updateDO,filePath);
        }

        public Integer updateAllFieldsByFilePath(UploadInfoImgDO updateDO,  String filePath){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByFilePath(updateDO,filePath);
        }

        public Integer deleteByFilePath( String filePath){
            return this.uploadInfoImgMapper.deleteByFilePath(filePath);
        }



        public List<UploadInfoImgDO> listByInFilePath(Collection<String> filePathList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInFilePath(filePathList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInFilePath(Collection<String> filePathList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInFilePath(filePathList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInFilePath(Collection<String> filePathList){
            return this.uploadInfoImgMapper.countByInFilePath(filePathList);
        }

        public Integer updateNotNullFieldsByInFilePath(UploadInfoImgDO updateDO, Collection<String> filePathList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInFilePath(updateDO,filePathList);
        }

        public Integer updateAllFieldsByInFilePath(UploadInfoImgDO updateDO,  Collection<String> filePathList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInFilePath(updateDO,filePathList);
        }

        public Integer deleteByInFilePath( Collection<String> filePathList){
            return this.uploadInfoImgMapper.deleteByInFilePath(filePathList);
        }


        public List<UploadInfoImgDO> listByFileSize(Long fileSize, String... fieldNames){
            return this.uploadInfoImgMapper.listByFileSize(fileSize,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByFileSize(Long fileSize, String... fieldNames){
            return this.uploadInfoImgMapper.mapByFileSize(fileSize,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByFileSize(Long fileSize){
            return this.uploadInfoImgMapper.countByFileSize(fileSize);
        }

        public Integer updateNotNullFieldsByFileSize(UploadInfoImgDO updateDO, Long fileSize){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByFileSize(updateDO,fileSize);
        }

        public Integer updateAllFieldsByFileSize(UploadInfoImgDO updateDO,  Long fileSize){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByFileSize(updateDO,fileSize);
        }

        public Integer deleteByFileSize( Long fileSize){
            return this.uploadInfoImgMapper.deleteByFileSize(fileSize);
        }



        public List<UploadInfoImgDO> listByInFileSize(Collection<Long> fileSizeList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInFileSize(fileSizeList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInFileSize(Collection<Long> fileSizeList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInFileSize(fileSizeList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInFileSize(Collection<Long> fileSizeList){
            return this.uploadInfoImgMapper.countByInFileSize(fileSizeList);
        }

        public Integer updateNotNullFieldsByInFileSize(UploadInfoImgDO updateDO, Collection<Long> fileSizeList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInFileSize(updateDO,fileSizeList);
        }

        public Integer updateAllFieldsByInFileSize(UploadInfoImgDO updateDO,  Collection<Long> fileSizeList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInFileSize(updateDO,fileSizeList);
        }

        public Integer deleteByInFileSize( Collection<Long> fileSizeList){
            return this.uploadInfoImgMapper.deleteByInFileSize(fileSizeList);
        }


        public List<UploadInfoImgDO> listByFilePixel(Integer filePixel, String... fieldNames){
            return this.uploadInfoImgMapper.listByFilePixel(filePixel,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByFilePixel(Integer filePixel, String... fieldNames){
            return this.uploadInfoImgMapper.mapByFilePixel(filePixel,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByFilePixel(Integer filePixel){
            return this.uploadInfoImgMapper.countByFilePixel(filePixel);
        }

        public Integer updateNotNullFieldsByFilePixel(UploadInfoImgDO updateDO, Integer filePixel){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByFilePixel(updateDO,filePixel);
        }

        public Integer updateAllFieldsByFilePixel(UploadInfoImgDO updateDO,  Integer filePixel){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByFilePixel(updateDO,filePixel);
        }

        public Integer deleteByFilePixel( Integer filePixel){
            return this.uploadInfoImgMapper.deleteByFilePixel(filePixel);
        }



        public List<UploadInfoImgDO> listByInFilePixel(Collection<Integer> filePixelList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInFilePixel(filePixelList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInFilePixel(Collection<Integer> filePixelList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInFilePixel(filePixelList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInFilePixel(Collection<Integer> filePixelList){
            return this.uploadInfoImgMapper.countByInFilePixel(filePixelList);
        }

        public Integer updateNotNullFieldsByInFilePixel(UploadInfoImgDO updateDO, Collection<Integer> filePixelList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInFilePixel(updateDO,filePixelList);
        }

        public Integer updateAllFieldsByInFilePixel(UploadInfoImgDO updateDO,  Collection<Integer> filePixelList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInFilePixel(updateDO,filePixelList);
        }

        public Integer deleteByInFilePixel( Collection<Integer> filePixelList){
            return this.uploadInfoImgMapper.deleteByInFilePixel(filePixelList);
        }


        public List<UploadInfoImgDO> listByUserIdCreate(Long userIdCreate, String... fieldNames){
            return this.uploadInfoImgMapper.listByUserIdCreate(userIdCreate,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByUserIdCreate(Long userIdCreate, String... fieldNames){
            return this.uploadInfoImgMapper.mapByUserIdCreate(userIdCreate,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByUserIdCreate(Long userIdCreate){
            return this.uploadInfoImgMapper.countByUserIdCreate(userIdCreate);
        }

        public Integer updateNotNullFieldsByUserIdCreate(UploadInfoImgDO updateDO, Long userIdCreate){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByUserIdCreate(updateDO,userIdCreate);
        }

        public Integer updateAllFieldsByUserIdCreate(UploadInfoImgDO updateDO,  Long userIdCreate){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByUserIdCreate(updateDO,userIdCreate);
        }

        public Integer deleteByUserIdCreate( Long userIdCreate){
            return this.uploadInfoImgMapper.deleteByUserIdCreate(userIdCreate);
        }



        public List<UploadInfoImgDO> listByInUserIdCreate(Collection<Long> userIdCreateList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInUserIdCreate(userIdCreateList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInUserIdCreate(Collection<Long> userIdCreateList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInUserIdCreate(userIdCreateList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInUserIdCreate(Collection<Long> userIdCreateList){
            return this.uploadInfoImgMapper.countByInUserIdCreate(userIdCreateList);
        }

        public Integer updateNotNullFieldsByInUserIdCreate(UploadInfoImgDO updateDO, Collection<Long> userIdCreateList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInUserIdCreate(updateDO,userIdCreateList);
        }

        public Integer updateAllFieldsByInUserIdCreate(UploadInfoImgDO updateDO,  Collection<Long> userIdCreateList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInUserIdCreate(updateDO,userIdCreateList);
        }

        public Integer deleteByInUserIdCreate( Collection<Long> userIdCreateList){
            return this.uploadInfoImgMapper.deleteByInUserIdCreate(userIdCreateList);
        }


        public List<UploadInfoImgDO> listByUserIdModified(Long userIdModified, String... fieldNames){
            return this.uploadInfoImgMapper.listByUserIdModified(userIdModified,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByUserIdModified(Long userIdModified, String... fieldNames){
            return this.uploadInfoImgMapper.mapByUserIdModified(userIdModified,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByUserIdModified(Long userIdModified){
            return this.uploadInfoImgMapper.countByUserIdModified(userIdModified);
        }

        public Integer updateNotNullFieldsByUserIdModified(UploadInfoImgDO updateDO, Long userIdModified){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByUserIdModified(updateDO,userIdModified);
        }

        public Integer updateAllFieldsByUserIdModified(UploadInfoImgDO updateDO,  Long userIdModified){
            if (super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByUserIdModified(updateDO,userIdModified);
        }

        public Integer deleteByUserIdModified( Long userIdModified){
            return this.uploadInfoImgMapper.deleteByUserIdModified(userIdModified);
        }



        public List<UploadInfoImgDO> listByInUserIdModified(Collection<Long> userIdModifiedList, String... fieldNames){
            return this.uploadInfoImgMapper.listByInUserIdModified(userIdModifiedList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Map<Long,UploadInfoImgDO> mapByInUserIdModified(Collection<Long> userIdModifiedList, String... fieldNames){
            return this.uploadInfoImgMapper.mapByInUserIdModified(userIdModifiedList,super.javaFieldNames2DataBaseNames(fieldNames));
        }

        public Integer countByInUserIdModified(Collection<Long> userIdModifiedList){
            return this.uploadInfoImgMapper.countByInUserIdModified(userIdModifiedList);
        }

        public Integer updateNotNullFieldsByInUserIdModified(UploadInfoImgDO updateDO, Collection<Long> userIdModifiedList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateNotNullFieldsByInUserIdModified(updateDO,userIdModifiedList);
        }

        public Integer updateAllFieldsByInUserIdModified(UploadInfoImgDO updateDO,  Collection<Long> userIdModifiedList){
            if(super.doChecker != null){
                super.doChecker.checkWhenModify(updateDO);
            }
            return this.uploadInfoImgMapper.updateAllFieldsByInUserIdModified(updateDO,userIdModifiedList);
        }

        public Integer deleteByInUserIdModified( Collection<Long> userIdModifiedList){
            return this.uploadInfoImgMapper.deleteByInUserIdModified(userIdModifiedList);
        }


}

